<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>首页</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="{{ url_for('static',filename='layuiadmin/layui/css/layui.css') }}" media="all">
    <link rel="stylesheet" href="{{ url_for('static',filename='layuiadmin/style/admin.css') }}" media="all">
</head>
<body>

{#<div class="layui-fluid">#}
{#    <div class="layui-row layui-col-space15">#}
{##}
{#        <div class="layui-col-sm6 layui-col-md3">#}
{#            <div class="layui-card">#}
{#                <div class="layui-card-header">#}
{#                    用户总量#}
                    {#            <span class="layui-badge layui-bg-blue layuiadmin-badge">周</span>#}
{#                </div>#}
{#                <div class="layui-card-body layuiadmin-card-list">#}
{#                    <p class="layuiadmin-big-font">{{ user_count }}</p>#}
{#                    <p>#}
{#                        用户数量#}
{#                        <span class="layuiadmin-span-color">{{ user_count }} <i#}
{#                                class="layui-inline layui-icon layui-icon-user"></i></span>#}
{#                    </p>#}
{#                </div>#}
{#            </div>#}
{#        </div>#}
{#        <div class="layui-col-sm6 layui-col-md3">#}
{#            <div class="layui-card">#}
{#                <div class="layui-card-header">#}
{#                    订单总量#}
                    {#            <span class="layui-badge layui-bg-cyan layuiadmin-badge">月</span>#}
{#                </div>#}
{#                <div class="layui-card-body layuiadmin-card-list">#}
{#                    <p class="layuiadmin-big-font">{{ order_count }}</p>#}
{#                    <p>#}
{#                        今日付款订单#}
{#                        <span class="layuiadmin-span-color"> {{ order_count_1 }} <i#}
{#                                class="layui-inline layui-icon layui-icon-face-smile-b"></i></span>#}
{#                    </p>#}
{#                </div>#}
{#            </div>#}
{#        </div>#}
{#        <div class="layui-col-sm6 layui-col-md3">#}
{#            <div class="layui-card">#}
{#                <div class="layui-card-header">#}
{#                    总收入#}
                    {#            <span class="layui-badge layui-bg-green layuiadmin-badge">年</span>#}
{#                </div>#}
{#                <div class="layui-card-body layuiadmin-card-list">#}
{##}
{#                    <p class="layuiadmin-big-font">{{ income or 0 }}</p>#}
{#                    <p>#}
{#                        昨日收入#}
{#                        <span class="layuiadmin-span-color"> {{ income_1 or 0 }} <i#}
{#                                class="layui-inline layui-icon layui-icon-dollar"></i></span>#}
{#                    </p>#}
{#                </div>#}
{#            </div>#}
{#        </div>#}
{#        <div class="layui-col-sm6 layui-col-md3">#}
{#            <div class="layui-card">#}
{#                <div class="layui-card-header">#}
{#                    商品数量#}
                    {#            <span class="layui-badge layui-bg-orange layuiadmin-badge">月</span>#}
{#                </div>#}
{#                <div class="layui-card-body layuiadmin-card-list">#}
{##}
{#                    <p class="layuiadmin-big-font">{{ goods_count }}</p>#}
{#                    <p>#}
{#                        店铺数量#}
{##}
{#                        <span class="layuiadmin-span-color">{{ store_count }} <i#}
{#                                class="layui-inline layui-icon layui-icon-flag"></i></span>#}
{#                    </p>#}
{#                </div>#}
{#            </div>#}
{#        </div>#}
{#        <div class="layui-col-sm12">#}
{#            <div class="layui-card">#}
{#                <div class="layui-card-header">#}
{#                    访问量#}
{#                    <div class="layui-btn-group layuiadmin-btn-group">#}
{#                        <a href="javascript:;" class="layui-btn layui-btn-primary layui-btn-xs">去年</a>#}
{#                        <a href="javascript:;" class="layui-btn layui-btn-primary layui-btn-xs">今年</a>#}
{#                    </div>#}
{#                </div>#}
{#                <div class="layui-card-body">#}
{#                    <div class="layui-row">#}
{#                        <div class="layui-col-sm8">#}
{#                            <div class="layui-carousel layadmin-carousel layadmin-dataview" data-anim="fade"#}
{#                                 lay-filter="LAY-index-pagetwo">#}
{#                                <div carousel-item id="LAY-index-pagetwo">#}
{#                                    <div><i class="layui-icon layui-icon-loading1 layadmin-loading"></i></div>#}
{#                                </div>#}
{#                            </div>#}
{#                        </div>#}
{#                        <div class="layui-col-sm4">#}
{#                            <div class="layuiadmin-card-list">#}
{#                                <p class="layuiadmin-normal-font">月访问数</p>#}
{#                                <span>同上期增长</span>#}
{#                                <div class="layui-progress layui-progress-big" lay-showPercent="yes">#}
{#                                    <div class="layui-progress-bar" lay-percent="30%"></div>#}
{#                                </div>#}
{#                            </div>#}
{#                            <div class="layuiadmin-card-list">#}
{#                                <p class="layuiadmin-normal-font">月下载数</p>#}
{#                                <span>同上期增长</span>#}
{#                                <div class="layui-progress layui-progress-big" lay-showPercent="yes">#}
{#                                    <div class="layui-progress-bar" lay-percent="20%"></div>#}
{#                                </div>#}
{#                            </div>#}
{#                            <div class="layuiadmin-card-list">#}
{#                                <p class="layuiadmin-normal-font">月收入</p>#}
{#                                <span>同上期增长</span>#}
{#                                <div class="layui-progress layui-progress-big" lay-showPercent="yes">#}
{#                                    <div class="layui-progress-bar" lay-percent="25%"></div>#}
{#                                </div>#}
{#                            </div>#}
{#                        </div>#}
{#                    </div>#}
{#                </div>#}
{#            </div>#}
{#        </div>#}
{##}
{#        <div class="layui-col-sm12">#}
{#        <div class="layui-card">#}
{#          <div class="layui-card-header">用户留言</div>#}
{#          <div class="layui-card-body">#}
{#            <ul class="layuiadmin-card-status layuiadmin-home2-usernote">#}
{#              <li>#}
{#                <h3>诸葛亮</h3>#}
{#                <p>皓首匹夫！苍髯老贼！你枉活九十有六，一生未立寸功，只会摇唇鼓舌！助曹为虐！一条断脊之犬，还敢在我军阵前狺狺狂吠，我从未见过有如此厚颜无耻之人！</p>#}
{#                <span>5月02日 00:00</span>#}
{#                <a href="javascript:;" layadmin-event="replyNote" data-id="5" class="layui-btn layui-btn-xs layuiadmin-reply">回复</a>#}
{#              </li>#}
{#              <li>#}
{#                <h3>胡歌</h3>#}
{#                <p>你以为只要长得漂亮就有男生喜欢？你以为只要有了钱漂亮妹子就自己贴上来了？你以为学霸就能找到好工作？我告诉你吧，这些都是真的！</p>#}
{#                <span>5月11日 00:00</span>#}
{#                <a href="javascript:;" layadmin-event="replyNote" data-id="6" class="layui-btn layui-btn-xs layuiadmin-reply">回复</a>#}
{#              </li>#}
{#              <li>#}
{#                <h3>杜甫</h3>#}
{#                <p>人才虽高，不务学问，不能致圣。刘向十日画一水，五日画一石。</p>#}
{#                <span>4月11日 00:00</span>#}
{#                <a href="javascript:;" layadmin-event="replyNote" data-id="2" class="layui-btn layui-btn-xs layuiadmin-reply">回复</a>#}
{#              </li>#}
{#              <li>#}
{#                <h3>鲁迅</h3>#}
{#                <p>路本是无所谓有和无的，走的人多了，就没路了。。</p>#}
{#                <span>4月28日 00:00</span>#}
{#                <a href="javascript:;" layadmin-event="replyNote" data-id="4" class="layui-btn layui-btn-xs layuiadmin-reply">回复</a>#}
{#              </li>#}
{#              <li>#}
{#                <h3>张爱玲</h3>#}
{#                <p>于千万人之中遇到你所要遇到的人，于千万年之中，时间的无涯的荒野中，没有早一步，也没有晚一步，刚巧赶上了，那也没有别的话好说，唯有轻轻的问一声：“噢，原来你也在这里？”</p>#}
{#                <span>4月11日 00:00</span>#}
{#                <a href="javascript:;" layadmin-event="replyNote" data-id="1" class="layui-btn layui-btn-xs layuiadmin-reply">回复</a>#}
{#              </li>#}
{#            </ul>#}
{#          </div>#}
{#        </div>#}
{#      </div>#}
{##}
{##}
{#    </div>#}
{#</div>#}
{#</div>#}

<script src="{{ url_for('static',filename='layuiadmin/layui/layui.js') }}"></script>
<script>
    layui.config({
        base: '../../static/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'sample']);
</script>
</body>
</html>